package util

import (
	"fmt"
	"time"
)

func ConvertTimeFormat(str string) string {
	t, err := time.Parse(time.RFC3339, str)
	if err != nil {
		fmt.Println("Error parsing time:", err)
		return ""
	}
	return t.Format("2006-01-02 15:04:05.000")
}
